package com.botann.projects.annotations;

import java.lang.annotation.*;

/**
 * Charging
 * Expand 注解扩展的不属于本表的属性
 * Created by 刘山国 on 2017/11/30.
 * Copyright (c) 2017 刘山国. All rights reserved
 */
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public  @interface Expand {
    String value()  default "";  // 表的别名 alias
    String name()   default "";  // 数据库中的表字段名称, a.name 写入到当前field
}

